<div class="file-manager-container">
    <kylin-list-page
        [tableGen]="tableGen"
        [selectorGen]="selectorGen"
        [btnsGen]="btnsGen"
        [queryReqInfo]="queryReqInfo">
    </kylin-list-page>

    <ng-template #contentTemp let-data="data" let-funSet="funSet">
        <td>
            <img [src]="data.urlTranslate" alt="" class="content-img">
            <!-- TODO 下载/预览-->
        </td>
    </ng-template>

    <ng-template #operationTemp let-data="data" let-funSet="funSet">
        <td style = "text-align:center;">
            <a nz-popconfirm (nzOnConfirm)="deleteFile(data, funSet)" nzTitle="确认删除该文件吗?">删除</a>
            <nz-divider nzType="vertical"></nz-divider>
            <a (click)="downloadFile(data)">下载</a>
        </td>
    </ng-template>
</div>
